home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / IBPalettes / WWTCLKit / WWTTSwitchViewConnectInspector.h < prev    next >
Encoding:
Text File  |  1995-03-22  |  1007 b   |  37 lines

  1. /* SwitchViewConnectInspector.h
  2.  * Written By:  Thomas Burkholder
  3.  *
  4.  * You may freely copy, distribute, and reuse the code in this example.
  5.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  6.  * fitness for any particular use.
  7.  */
  8.  
  9. #import <appkit/appkit.h>
  10. #import <apps/InterfaceBuilder.h>
  11. #import "WWTTSwitchView.h"
  12.  
  13. // name space protected for WavesWorld by the addition of the "WWTT" prefix
  14.  
  15. // Category of SwitchView that does the connections-specific stuff
  16. @interface WWTTSwitchView (ConnectionsInspector)
  17.  
  18. -(const char *)getConnectInspectorClassName;
  19.  
  20. @end
  21.  
  22. // Connection inspector for the SwitchView class
  23. @interface WWTTSwitchViewConnectInspector:IBInspector
  24. {
  25.     id browser;          // The matrix of ButtonCells showing object class
  26.     id connectButton;    // The connect/disconnect button.
  27.     id connectorList;    // The list of connectors that we show
  28. }
  29.  
  30. - init;
  31. - selectConnection:sender;  // action of the matrix
  32. - ok:sender;
  33. - revert:sender;
  34. - (BOOL)wantsButtons;
  35.  
  36. @end
  37.